import axios from "axios";

export default function () {
    const loadImage = async (url: string) => {
        try {
            return await axios.get(url);
        } catch (e) {
            console.error("===== load image is fail... in:", e);
            return false;
        }
    };
    return [loadImage];
}
